//
//  JWSingleSite.h
//  JWBrowser
//
//  Created by Dejun Liu on 14-11-11.
//  Copyright (c) 2014年 JW. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "AFNetworking.h"

typedef void(^Complation)(id responseData , NSError *error); // obj可能是dic、array

@interface JWSingleSite : NSObject

@property(nonatomic,strong) AFHTTPRequestOperationManager *manager;

JW_SINGLETON_INTERFACE(JWSingleSite);

- (void)GetURLString:(NSString *)url params:(NSDictionary *)params jsonResponse:(Complation ) complation;
- (void)PostURLString:(NSString *)url params:(NSDictionary *)prarams jsonResponse:(Complation) complation;

@end
